package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 科室信息对象 departments
 * 
 * @author ruoyi
 * @date 2025-06-26
 */
public class Departments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科室ID */
    private Integer id;

    /** 医生ID（关联医生） */
    @Excel(name = "医生ID", readConverterExp = "关=联医生")
    private Integer doctorId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String departmentName;

    /** 所属院区 */
    @Excel(name = "所属院区")
    private String hospitalArea;

    /** 科室位置 */
    @Excel(name = "科室位置")
    private String location;

    /** 科室简介（可存更新时间等） */
    @Excel(name = "科室简介", readConverterExp = "可=存更新时间等")
    private String introduction;

    /** 科室删除状态*/
    @Excel(name = "科室删除状态")
    private Integer delFlag;

    @Excel(name = "院区id")
    private Integer campusId;

    public void setDelFlag(Integer delFlag){
        this.delFlag=delFlag;
    }
    public Integer getDelFlag(){
        return delFlag;
    }

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setDoctorId(Integer doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Integer getDoctorId() 
    {
        return doctorId;
    }

    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }

    public void setHospitalArea(String hospitalArea) 
    {
        this.hospitalArea = hospitalArea;
    }

    public String getHospitalArea() 
    {
        return hospitalArea;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("doctorId", getDoctorId())
            .append("departmentName", getDepartmentName())
            .append("hospitalArea", getHospitalArea())
            .append("location", getLocation())
            .append("introduction", getIntroduction())
            .toString();
    }

    public Integer getCampusId() {
        return campusId;
    }

    public void setCampusId(Integer campusId) {
        this.campusId = campusId;
    }
}
